package com.love.marriage.datingInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * description:  约会表类
 * author:       alex
 * createDate: 2024-10-15 20:28:51
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("dating_info_t")
@Schema(description = "约会表")
public class DatingInfo extends BaseEntity<DatingInfo>{

    @Schema(description = "约会类型", type = "String", implementation = String.class)
    @TableField("dating_type")
    private String datingType;

    @Schema(description = "约会主题", type = "String", implementation = String.class)
    @TableField("dating_theme")
    private String datingTheme;

    @Schema(description = "约会开始时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("start_time")
    private LocalDateTime startTime;

    @Schema(description = "约会结束时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("end_time")
    private LocalDateTime endTime;

    @Schema(description = "约会内容", type = "String", implementation = String.class)
    @TableField("content")
    private String content;

    @Schema(description = "约会图片ID（逗号分隔）", type = "String", implementation = String.class)
    @TableField("image_ids")
    private String imageIds;

    @Schema(description = "约会地点详情", type = "String", implementation = String.class)
    @TableField("location")
    private String location;

    @Schema(description = "支付金额", type = "BigDecimal", implementation = BigDecimal.class)
    @TableField("pay_money")
    private BigDecimal payMoney;

    @Schema(description = "省id", type = "Integer", implementation = Integer.class)
    @TableField("province_id")
    private Integer provinceId;

    @Schema(description = "城市id", type = "Integer", implementation = Integer.class)
    @TableField("city_id")
    private Integer cityId;

    @Schema(description = "区id", type = "Integer", implementation = Integer.class)
    @TableField("district_id")
    private Integer districtId;

    @Schema(description = "置顶标识", type = "Boolean", implementation = Boolean.class)
    @TableField("top_flag")
    private Boolean topFlag;

    @Schema(description = "分享照片ID", type = "Long", implementation = Long.class)
    @TableField("share_photo_id")
    private Long sharePhotoId;
}
